import request from "@/utils/request";

// 获取农产品图片列表
export const getProductImageList = (id) => {
  return request.get(`/productImage/list/${id}`);
};

// 添加农产品图片
export const addProductImage = (data) => {
  return request.post("/productImage", data);
};

// 删除农产品图片
export const deleteProductImage = (id) => {
  return request.delete(`/productImage/${id}`);
};
